package com.example.printscreen.printscreen.bean;

/**
 * 图片选择
 *
 * @author: xiaoluo
 * @date: 2017-01-16 17:13
 */
public class SelectPicture {
    public String path;
    public String name;
    public long time;

    public SelectPicture(String path, String name, long time) {
        this.path = path;
        this.name = name;
        this.time = time;
    }

    @Override
    public boolean equals(Object o) {
        try {
            SelectPicture other = (SelectPicture) o;
            return this.path.equalsIgnoreCase(other.path);
        } catch (ClassCastException e) {
            e.printStackTrace();
        }
        return super.equals(o);
    }
}
